package com.dlc.shop.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dlc.shop.bean.model.Delivery;
import com.dlc.shop.bean.vo.DeliveryOrderVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author yami
 */
public interface DeliveryMapper extends BaseMapper<Delivery> {
    /**
     * 根据订单编号获取发货数量
     * @param orderNumbers
     * @return
     */
    List<DeliveryOrderVO> listDeliveryCountByOrderNumber(@Param("orderNumbers") List<String> orderNumbers);
}
